﻿
/*
 * Do nothing on cancel.
 */
function onCancel() {
	debug.trace("Execution options.onCancel");
}

/*
 * Load the current option values into the input UI controls
 */
function onOpen() {
	debug.trace("Executing options.onOpen");
	edtSlideInterval.value = options("SlideInterval");
	edtFadeInterval.value = options("FadeInterval");
	edtFadeRatio.value = options("FadeRatio");
}

/*
 * Write the input UI values back into the options.
 */
function onOK() {
	debug.trace("Executing options.onOK");
	options("SlideInterval") = edtSlideInterval.value;
	options("FadeInterval") = edtFadeInterval.value;
	options("FadeRatio") = edtFadeRatio.value;
}
